public class Test3 {

	public static void main(String[] args) {
		Machine machine = new Machine();
		Pear pear = new Pear();
		Boluo boluo = new Boluo();
		Banana banana = new Banana();
		System.out.println(machine.zhazi(pear));
		System.out.println(machine.zhazi(banana));
		System.out.println(machine.zhazi(boluo));
	}

}
